package com.topisv.tms.service.edb;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.topisv.tms.entity.edb.EdbInOutStore;
import com.topisv.tms.repository.edb.EdbInOutStoreDao;

//Spring Bean的标识.
@Component
// 默认将类中的所有public函数纳入事务管理.
@Transactional(readOnly = true)
public class EdbInOutStoreService {

	@Autowired
	private EdbInOutStoreDao edbInOutStorekDao;

	
	@Transactional(readOnly = false)
	public void save(EdbInOutStore entity) {
		edbInOutStorekDao.save(entity);
	}

}
